<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
<script type="text/javascript">
   var a=parseInt(prompt("请输入第一个数"));
   var b=parseInt(prompt("请输入第二个数"));
   var c=parseInt(prompt("请输入第三个数"));
   var s = 0;
   if(a>b && a>c)
   { 
       s=a;
   }else if(b>c){
   	   s=b;
   }else{
   	   s=c;
   }
   document.write("三个数中最大数是" + s);

</script>
	<!-- 3(小方块运动) -->
	<script>
    var div = document.createElement('div');
	document.body.appendChild(div);
	div.style.width = "200px";
	div.style.height = "200px";
	div.style.backgroundColor = "yellow";
	div.style.position = "absolute";
	div.style.left = "0";
	div.style.top = "0";
	tInterval(function(){
	div.style.left = parseInt(div.style.left) + 2 + "px";
	div.style.top = parseInt(div.style.top) + 2 + "px";
	},40)
    </script>
</body>
</html>